<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class=""> <!--<![endif]-->
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     <meta property="qc:admins" content="63350727776371646636" />
  
  
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
  <title>用户登录 SwiftV课堂 - 中国最大的Swift视频学习站</title>
  <meta name="keywords" content="swift,swift 教程,swift视频,swift论坛,swiftv课堂,swift培训,swift开发,ios8 开发,ios9 编程" />
  <meta name="description" content="SwiftV课堂是国内氛围最好的swift学习、交流网站，提供上千套swift视频,swift教程免费观看，学Swift开发(iOS10 开发)就上SwiftV课堂。" />
  <link rel="shortcut icon" type="image/x-icon" href="http://static.vlms.cn/images/2014/08/hyjpep4o.png" media="screen" />
  
  <link href="resources/css/bootstrap.css" rel="stylesheet" />
  <link rel="stylesheet" media="screen" href="resources/css/bootstrap-extends.css" />
  
  <!-- 预览、自定义、默认css样式  -->
  	<link rel="stylesheet" media="screen" href="resources/css/schoolweb.css" />
  
  <!-- 回到顶部样式  -->
  <link rel="stylesheet" media="screen" href="resources/css/upDown.css" />
  
  <script src="resources/js/jquery.min.js"></script>
  <script src="resources/js/main.js"></script>
  
  <!-- 回到顶部样式  -->
  <script src="resources/js/JQscrollTop.js"></script>
  <script src="resources/js/updown.js"></script>
  
    <!--[if lt IE 8]>
      <link href="//static.vlms.cn/resources/wangxiaoyun/css/oldie.css" rel="stylesheet">
    <![endif]-->
    
    <!--[if lt IE 9]>
    <script src="//static.vlms.cn/resources/wangxiaoyun/libs/html5shiv.js"></script>
    <![endif]-->

	  <!--[if IE 8]>
	    <script src="//static.vlms.cn/resources/wangxiaoyun/libs/respond.min.js"></script>
	  <![endif]-->
  
</head>
<body id="bodyColor" class="">

<style>
.nav-list > li.active > a {
    background-color: #ffa275;  
    color: #ffffff;
}

.site-navbar .navbar-nav > li > a:hover {
    background-color: #ffa275;
    color: #ffffff;
}
</style>

<div class="navbar navbar-inverse site-navbar" id="site-navbar">
  <div class="container">
    <div class="container-gap">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
          <a class="navbar-brand-logo" href="index.html">
              <img src="resources/images/title2.png" alt="E-job" title="E-job" height="55px;" />
          </a>
      </div>
      
      <div class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
                    <li><a href="course/explore-sort=latest.html"  >企业介绍</a></li>
                    <li><a href="https://www.boxueio.com/skill/swift?v"  target="_blank" >培训辅修</a></li>
                    <li><a href="page/qun.html"  >考试认证</a></li>
                    <li><a href="page/lianxi.html"  >应职报名</a></li>
                    <li><a href="page/lianxi.html"  >网上面试</a></li>
                    <li><a href="page/lianxi.html"  >E-job论坛</a></li>
          </ul>
        
        <ul class="nav navbar-nav navbar-right">
          
        </ul>        

      </div><!--/.navbar-collapse -->
    </div>
  </div>
</div>


<script>
   $(document).ready(function(){
      $(".typehead").click(function(){
          $(this).css("background","white");
          $(".xin-search-btn").css({"background":"white","border":"1px solid #FFFFFF"});
      });
      
   	  $(".typehead").blur(function(){
          $(this).css("background","#5c5f68");
           $(".xin-search-btn").css({"background":"#5c5f68","border":"1px solid #5c5f68"});
      });
      
	  //搜索按钮
	  $(".xin-search-btn").click(function(){
	   	var key=$(".search_input").val();
	   	var url = "";
	   	if (getUrlParam('theme')) {
	   		var value = getUrlParam('theme');
	   		url="/search/course?keyword="+key+"&theme="+value;
	   	}else{
			url="/search/course?keyword="+key;
		}
		location.href=url;
	  });
	  
	  	//获取url中的参数
		function getUrlParam(name) {
			var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
			var r = window.location.search.substr(1).match(reg);  	//匹配目标参数
			if (r != null) return unescape(r[2]); return null; 		//返回参数值
		}
	
   });
</script>
  
<div id="content-container" class="container">
  <div class="row row-6">
    <div class="col-md-6 col-md-offset-3">

      <div class="panel panel-default panel-page">
        <div class="panel-heading"><h2>登录</h2><hr style="border-bottom:2px solid #3B6E22;margin:0px;" /></div>
        
        <form id="loginForm" class="form-vertical" method="post" action="/login">
          
          
          <input type="hidden" name="goto" value="" />
          
            <div class="form-group">
              <label class="control-label" for="login_username">手机号</label>
              <div class="controls">
                <input class="form-control" id="login_username" type="text" name="username" value="" required="required"  />
                <p class="help-block">请使用手机号登录</p>
              </div>
            </div>
          
          <div class="form-group">
            <label class="control-label" for="login_password">登录密码</label>
            <div class="controls">
              <input class="form-control" id="login_password" type="password" name="password" required="required"  />
            </div>
          </div>

          <div class="form-group">
            <div class="controls">
              <span class="checkbox mtm pull-right">
                <label> <input type="checkbox" name="rememberMe" value="true"> 记住密码 </label>
              </span>
              <button type="button" id="loginBtn" class="btn btn-fat btn-primary btn-large" >登录</button>
            </div>
          </div>
          
        </form>

        <div class="ptl">
          <a href="forgotPassword.html">找回密码</a>
          <span class="text-muted mhs">|</span>
          <span class="text-muted">还没有注册帐号？</span>
          <a href="register.html">立即注册</a>
        </div>

        <div class="cooper-login">
        
        </div>

        
      </div>

    </div>
  </div>
</div><!-- /container -->


	<div class="site-footer container clearfix">   
	  <div class="alert text-center"><a href="http://www.miitbeian.gov.cn/" target="_blank"> 粤ICP备14044760-1</a></div>
	</div>
	
	<div><script>window._bd_share_config={"common":{"bdSnsKey":{"tsina":"3474175605"},"bdText":"SwiftV课堂，是我见过的最有氛围的Swift视频学习站，体验很棒！小伙伴要不要一起来学习？限免哟~#SwiftV课堂#","bdMini":"1","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"slide":{"type":"slide","bdImg":"3","bdPos":"left","bdTop":"214.5"}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script></div>



  
<div id="ScrollToTop" class="btnimg Button2" style="color: rgb(255, 255, 255);text-align: center; display: block; background-color: rgba(12, 173, 87, 0.69);padding: 11px; width: 60px;bottom:15px;">返回<br>顶部</div>
  <div id="login-modal" class="modal" data-url="/login/ajax"></div>
  <div id="modal" class="modal"></div>


<script src="resources/js/jquery.form.min.js"></script>
<script src="resources/js/bootstrapValidator.min.js"></script>
<script src="resources/js/bootstrap.min.js"></script>
<script src="resources/js/autocomplete.js"></script>
<script src="resources/js/bootstrap-notify.js"></script>
<script src="resources/js/utils.js"></script>
<script src="resources/js/rightBar.js"></script>


<script>
   $(document).ready(function(){
      var loginBtn = $('#loginBtn');
      loginBtn.click(function(event) {
        AjaxIO.post("/login", {
                  phonenumber: $('#login_username').val(),
                  password: $('#login_password').val()
              }, function(results) {
                if (results.status == 200) {
                    localStorage.setItem("token",results.data.token)
                    location.href = "index.html?username="
                } 
        });
      });
      
   });
</script>


  </body>
</html>